package StudyCode.summary.mydatetime;

import java.time.Year;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class LeapYear {
	public static void main(String[] args) {
		Year year = Year.of(1999);
		Year year1 = Year.of(2000);
		System.out.println(year + "是闰年吗？" + year.isLeap());
		System.out.println(year1 + "是闰年吗？" + year1.isLeap());
	}
}
